# docker run -d -p 9999:8080 -v /var/local/log:/app/log --name api api:1.0.0
FROM python:3.6
LABEL Author="fengbo"

WORKDIR /app
COPY . /app

RUN mkdir -p /app/log
RUN pip3 install -r /app/requirments.txt -i https://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com

#CMD python3 main.py -w 3 -b 0.0.0.0:8080 run:app
ENTRYPOINT ["python3", "./run.py"]
